package com.kinon.markett2;

/**
 * Created by luohao on 2017-07-25.
 */

public class Constants {

    /**
     * 蓝牙打印相关参数
     */
    public static final int MESSAGE_STATE_CHANGE = 1;
    public static final int MESSAGE_READ = 2;
    public static final int MESSAGE_WRITE = 3;
    public static final int MESSAGE_DEVICE_NAME = 4;
    public static final int MESSAGE_TOAST = 5;
    // Key names received from the BluetoothService Handler
    public static final String DEVICE_NAME = "device_name";
    public static final String TOAST = "toast";
    // Intent request codes
    public static final int REQUEST_CONNECT_DEVICE = 1;
    public static final int REQUEST_ENABLE_BT = 2;
    /**
     * 紧急状态 非紧急状态
     */
    public static boolean URGENT_TYPE = false;
    public static int URGENT_CARD_SUCCESS = 11;
    /**
     * 是否删除sp
     */
    public static boolean IS_DELETE_SP = true;
    // 读卡位数
    public static int CARD_LENGTH = 8;

}
